package com.ece.friendly.service;

import java.util.List;

import org.apache.commons.fileupload.FileItem;

import com.ece.friendly.model.Article;

public interface ArticleService {
	boolean addArticle(String login,String type_event,String nom,int etat,String conseil,float prix_jour,FileItem photo,long date,String dir);
	List<Article> getAllArticle();
	Article getArticle(int id);
	List<Article> getArticles(String login);
	List<Article> getTopArticles(int limit);
	Article getArticle(String stylie, long date);
}
